package com.hd.core.project.module.domain;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.hd.core.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 教务科-上传资料表 module_edu_upload_data
 * 
 * @author RichardTang
 * @date 2018-08-02
 */
@TableName("module_edu_upload_data")
public class EduUploadData extends BaseEntity {

	private static final long serialVersionUID = 1L;
	
	/** 上传文件的序号 */
	@TableId(type = IdType.AUTO)
	private Integer uploadId;

	/** 对应的操作用户名 */
	private String operateUser;

	/** 上传的日期,第一次上传的日期 */
	private Date uploadDate;

	/** 最近最后一次修改的日期 */
	private Date editDate;

	/** 文件状态: 1.文件存在 2.文件丢失 */
	private Integer state;

	/** 上传的文件名称 */
	private String fileName;

	/** 上传的文件对应的文件路径 */
	private String filePath;

	public EduUploadData() {

	}

	public EduUploadData(String operateUser, Date uploadDate, Date editDate, Integer state, String fileName, String filePath) {
		this.operateUser = operateUser;
		this.uploadDate = uploadDate;
		this.editDate = editDate;
		this.state = state;
		this.fileName = fileName;
		this.filePath = filePath;
	}

	public void setUploadId(Integer uploadId)
	{
		this.uploadId = uploadId;
	}

	public Integer getUploadId() 
	{
		return uploadId;
	}
	public void setOperateUser(String operateUser) 
	{
		this.operateUser = operateUser;
	}

	public String getOperateUser() 
	{
		return operateUser;
	}
	public void setUploadDate(Date uploadDate) 
	{
		this.uploadDate = uploadDate;
	}

	public Date getUploadDate() 
	{
		return uploadDate;
	}
	public void setEditDate(Date editDate) 
	{
		this.editDate = editDate;
	}

	public Date getEditDate() 
	{
		return editDate;
	}
	public void setState(Integer state) 
	{
		this.state = state;
	}

	public Integer getState() 
	{
		return state;
	}
	public void setFileName(String fileName) 
	{
		this.fileName = fileName;
	}

	public String getFileName() 
	{
		return fileName;
	}
	public void setFilePath(String filePath) 
	{
		this.filePath = filePath;
	}

	public String getFilePath() 
	{
		return filePath;
	}
}
